Previous Book Contents Book Index Next

Inside Macintosh: Programming With JManager /
Chapter 2 - JManager Reference / JManager Functions
Frame Manipulation Functions /


JMSetFrameSize

Sets the size of a frame.

OSStatus JMSetFrameSize (
                     JMFrameRef frame, 
                     const Rect* newSize);
frame
The frame whose size you want to set.
newSize
The coordinates of the new frame size in pixels.
function result
A result code. See "JManager Result Codes" (page 108) for a list of result codes that JManager may return in this field.
DISCUSSION
The function automatically calculates the width and height of the frame given the coordinates you pass in the newSize parameter.

SEE ALSO
The JMGetFrameSize function (page 84).

Previous Book Contents Book Index Next

© Apple Computer, Inc.
23 APR 1997